package com.songlanyun.modules.order.model.vo;

import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.afterturn.easypoi.excel.annotation.ExcelTarget;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.songlanyun.common.drive.RootEntity;
import com.songlanyun.common.drive.ValueObject;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * 订单的收货人信息表
 *
 * @author lubo
 * @email sunlightcs@gmail.com
 * @date 2020-11-16 14:14:43
 */
@Data
@ExcelTarget("OrderReceiptVO")
public class OrderReceiptVO implements ValueObject {
	private static final long serialVersionUID = 1L;

	/**
	 *
	 */

	private Long id;
	/**
	 * 所属订单id
	 */

	private Long orderId;
	/**
	 * 订单编号
	 */

	private String orderCode;
	/**
	 * 收货人
	 */

	@Excel(name = "快递收货人", orderNum = "29", width = 10D, needMerge = true)
	private String receiver;
	/**
	 * 收货人手机号
	 */

	@Excel(name = "快递收货人手机号", orderNum = "30", width = 10D, needMerge = true)
	private String mobile;

	/**
	 * 省名称
	 */
	@Excel(name = "省", orderNum = "31", width = 8D, needMerge = true)
	private String provinceName;
	/**
	 * 省编码
	 */

	private String provinceCode;
	/**
	 * 市名称
	 */

	@Excel(name = "市", orderNum = "32", width = 8D, needMerge = true)
	private String cityName;
	/**
	 * 市编码
	 */
	private String cityCode;
	/**
	 * 区名称
	 */
	@Excel(name = "区", orderNum = "33", width = 8D, needMerge = true)
	private String areaName;
	/**
	 * 区编码
	 */
	private String areaCode;

	/**
	 * 街道名
	 */
	@Excel(name = "街道名", orderNum = "34", width =10D, needMerge = true)
	private String streetName;

	/**
	 * 社区名
	 */
	@Excel(name = "社区名", orderNum = "35", width =10D, needMerge = true)
	private String communityName;

	/**
	 * 详细地址
	 */
	@Excel(name = "详细地址", orderNum = "36", width = 30D, needMerge = true)
	private String address;

	/**
	 * tx径度
	 */
	private String longitude="";
	/**
	 * tx维度
	 */
	private String latitude="";


}
